import request from '@/utils/request'

// 查询用户提醒类别列表
export function listUserRemindCat(query) {
  return request({
    url: '/easybook/userRemindCat/list',
    method: 'get',
    params: query
  })
}

// 查询用户提醒类别详细
export function getUserRemindCat(userCategoryId) {
  return request({
    url: '/easybook/userRemindCat/' + userCategoryId,
    method: 'get'
  })
}

// 新增用户提醒类别
export function addUserRemindCat(data) {
  return request({
    url: '/easybook/userRemindCat',
    method: 'post',
    data: data
  })
}

// 修改用户提醒类别
export function updateUserRemindCat(data) {
  return request({
    url: '/easybook/userRemindCat',
    method: 'put',
    data: data
  })
}

// 删除用户提醒类别
export function delUserRemindCat(userCategoryId) {
  return request({
    url: '/easybook/userRemindCat/' + userCategoryId,
    method: 'delete'
  })
}
